# ------------------
# Techniques de développement
# M1 ALMA 2011-2012
# Pauline Folz - Adrien Quillet
# 
#

AC_PREREQ(2.61)

AC_INIT([tmxviewer],[0.0], [tutu@tutu.fr])
AM_INIT_AUTOMAKE
AM_SILENT_RULES([yes])
AC_CONFIG_MACRO_DIR([m4])
m4_include([check_qt.m4])
m4_include([check_python.m4])
m4_include([check_boost_python.m4])
AC_CONFIG_HEADER([config.h])

AC_PROG_CXX
AC_LANG_CPLUSPLUS
AC_PROG_LIBTOOL


AC_CHECK_FUNCS([memmove])
AC_CHECK_FUNCS([strchr])
AC_CHECK_FUNCS([strdup])
AC_CHECK_TYPES([ptrdiff_t])
AC_CHECK_HEADERS([stddef.h])
AC_CHECK_HEADERS([stdlib.h])
AC_CHECK_HEADERS([string.h])

AC_C_INLINE
AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_HEADER_STDBOOL
AC_TYPE_SIZE_T

CHECK_QT
CHECK_PYTHON
CHECK_BOOST_PYTHON

AC_CONFIG_FILES([Makefile 
					tinyxml/Makefile 
					utils/Makefile 
					map/Makefile 
					mapviewer/Makefile
					robot/Makefile
					robotmap/Makefile
					sensors/Makefile
					pluginmanager/Makefile
				])
AC_OUTPUT 
